/**
 * 响应数据类型
 */
export declare namespace RespSysDataType {
  /**
   * 代理商select item
   */
  export interface AgentSelectItem{
    label: string,
    value: string,
  }

  export type AgentSelectList = AgentSelectItem[];

  /**
   * 允许用户使用角色
   */
  export interface AllowUserUseAdminRoleItem{
    label: string,
    value: number
  }

  /**
   * 组织元素
   */
  export interface DeptItem {
    deptId: number,
    parentId: number,
    ancestors: string,
    deptName: string,
    orderNum: number,
    leader: string,
    phone: string,
    email: string,
    status: number,
    createdBy: number,
    updatedBy: number,
    createdAt: string,
    updatedAt: string,
    deletedAt: string,
  }

  /**
   * 组织树元素
   */
  export interface DeptTreeItem extends DeptItem {
    children?: DeptTreeItem[]
  }

  /**
   * 组织树响应
   */
  export interface DeptTreeResp {
    deps: DeptTreeItem[]
  }

  /**
   * 字典数据
   */
  export interface DictData {
    info: {
      name: string,
      remark: string
    },
    values: [
      {
        key: string,
        value: string,
        isDefault: number,
        remark: string
      }
    ]
  }

  /**
   * 用户依赖参数
   */
  export interface UserDependParams {
    roleList: [
      {
        id: number,
        status: number,
        listOrder: number,
        name: string,
        remark: string,
        dataScope: number,
        createdAt: string,
        updatedAt: string
      }
    ],
    posts: [
      {
        postId: number,
        postCode: string,
        postName: string,
        postSort: number,
        status: number,
        remark: string,
        createdBy: number,
        updatedBy: number,
        createdAt: string,
        updatedAt: string,
        deletedAt: string
      }
    ]
  }
}

/**
 * 请求数据类型
 */
export declare namespace RequestSysDataType {

}
